package com.qyhl.module_practice.team.detail;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeTeamBean;

public interface PracticeTeamDetailContract {
    interface PracticeTeamDetailView {
        void setDetail(PracticeTeamBean bean);

        void setError(String msg);

        void joinSuccess(String msg);

        void joinError(String msg);

        void exitSuccess(String msg);

        void exitError(String msg);
    }

    interface PracticeTeamDetailPresenter {
        void getDetail(String orgId, String volId);

        void joinTeam(String orgId, String volId);

        void exitTeam(String orgId, String volId);

        void setDetail(PracticeTeamBean bean);

        void setError(String msg);

        void joinSuccess(String msg);

        void joinError(String msg);

        void exitSuccess(String msg);

        void exitError(String msg);
    }

    interface PracticeTeamDetailModel {
        void getDetail(String orgId, String volId);

        void joinTeam(String orgId, String volId);

        void exitTeam(String orgId, String volId);
    }
}
